﻿<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  xmlns:tkt="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
  xmlns:System="clr-namespace:System;assembly=mscorlib"
  mc:Ignorable="d"
>
	
	
	
	<Style x:Key="frmLHCBtn" TargetType="Button">

		<Setter Property="Foreground" Value="#FF000000"/>
		<Setter Property="Background" Value="#00808080"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Template">
		<Setter.Value>
			<ControlTemplate TargetType="Button">
				<Grid>
					<VisualStateManager.VisualStateGroups>
						<VisualStateGroup x:Name="CommonStates">
							<VisualState x:Name="Normal"/>
							<VisualState x:Name="MouseOver">
								<Storyboard>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundAnimation"/>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Pressed">
								<Storyboard>
									<ColorAnimation Duration="0" To="#FF6DBDD1" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)"
										Storyboard.TargetName="Background"/>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity"
										Storyboard.TargetName="BackgroundAnimation"/>

								</Storyboard>
							</VisualState>
							<VisualState x:Name="Disabled">
								<Storyboard>
									<DoubleAnimation Duration="0" To=".55" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="DisabledVisualElement"/>
								</Storyboard>
							</VisualState>
						</VisualStateGroup>
						<VisualStateGroup x:Name="FocusStates">
							<VisualState x:Name="Focused">
								<Storyboard>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualElement"/>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Unfocused"/>
						</VisualStateGroup>
					</VisualStateManager.VisualStateGroups>
				
				
					<Border x:Name="Background" BorderBrush="#FFD4D4D4" BorderThickness="2">
						<Grid Margin="1">
							<Border x:Name="BackgroundAnimation" OpacityMask="#60E7E7E7" Opacity="0" Background="#80E2E2E2"/>
							<Rectangle x:Name="BackgroundGradient" Fill="{TemplateBinding Background}"/>
						</Grid>
					</Border>
					<ContentControl x:Name="contentControl"
						ContentTemplate="{TemplateBinding ContentTemplate}"
						Content="{TemplateBinding Content}"
						HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
						VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
						Margin="{TemplateBinding Padding}"
						Foreground="#f0e0e0e0" FontFamily="Segoe UI Light" FontSize="18"
          />
					<Rectangle x:Name="DisabledVisualElement" Fill="#FFFFFFFF" IsHitTestVisible="false" Opacity="0"/>
					<Rectangle x:Name="FocusVisualElement" IsHitTestVisible="false" 
						Margin="1" Opacity="0" Stroke="#ff30ff30" StrokeThickness="1"
					/>
				</Grid>
			</ControlTemplate>
		</Setter.Value>
	</Setter>
</Style>



<Style x:Key="dlazdiceJakoTlacitko" TargetType="Button">

		<Setter Property="Foreground" Value="#FF000000"/>
		<Setter Property="Background" Value="#00808080"/>
		<Setter Property="Padding" Value="0"/>
		<Setter Property="BorderThickness" Value="0"/>
		<Setter Property="Template">
		<Setter.Value>
			<ControlTemplate TargetType="Button">
				<Grid>
					<VisualStateManager.VisualStateGroups>
						<VisualStateGroup x:Name="CommonStates">
							<VisualState x:Name="Normal"/>
							<VisualState x:Name="MouseOver">
								<Storyboard>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="BackgroundAnimation"/>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Pressed">
								<Storyboard>
									<ColorAnimation Duration="0" To="#FF6DBDD1" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)"
										Storyboard.TargetName="Background"/>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity"
										Storyboard.TargetName="BackgroundAnimation"/>

								</Storyboard>
							</VisualState>
							<VisualState x:Name="Disabled">
								<Storyboard>
									<DoubleAnimation Duration="0" To=".55" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="DisabledVisualElement"/>
								</Storyboard>
							</VisualState>
						</VisualStateGroup>
						<VisualStateGroup x:Name="FocusStates">
							<VisualState x:Name="Focused">
								<Storyboard>
									<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisualElement"/>
								</Storyboard>
							</VisualState>
							<VisualState x:Name="Unfocused"/>
						</VisualStateGroup>
					</VisualStateManager.VisualStateGroups>
				
				
					<Border x:Name="Background" Padding="5">
						<Grid Margin="0">
							<Border x:Name="BackgroundAnimation" OpacityMask="#60E7E7E7" Opacity="0" Background="#80E2E2E2"/>
							<Rectangle x:Name="BackgroundGradient" Fill="{TemplateBinding Background}"/>
					
							<ContentControl x:Name="contentControl"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								Content="{TemplateBinding Content}"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								Margin="{TemplateBinding Padding}"
								Foreground="#f0e0e0e0" FontFamily="Segoe UI Light" FontSize="18"
		          />
						</Grid>
					</Border>
					<Rectangle x:Name="DisabledVisualElement" Fill="#FFFFFFFF" IsHitTestVisible="false" Opacity="0"/>
					<Rectangle x:Name="FocusVisualElement" IsHitTestVisible="false" 
						Margin="1" Opacity="0" Stroke="#ff30ff30" StrokeThickness="1"
					/>
				</Grid>
			</ControlTemplate>
		</Setter.Value>
	</Setter>
</Style>



<Style TargetType="Button" x:Key="BackButtonStyle">
		
		<Setter Property="Template">
			<Setter.Value>
				
				<ControlTemplate TargetType="Button">
          
						<Grid>
							<VisualStateManager.VisualStateGroups>
              <VisualStateGroup x:Name="CommonStates">

								<VisualState x:Name="Normal"/>

								<VisualState x:Name="MouseOver">
									<Storyboard>
                    <ColorAnimation Duration="0" To="#ffC1FfcC" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="kresbaTlacikta" d:IsOptimized="True"/>
									</Storyboard>
								</VisualState>
									<VisualState x:Name="Pressed"/>
									<VisualState x:Name="Disabled"/>

								</VisualStateGroup>

              <VisualStateGroup x:Name="FocusStates">

                <VisualState x:Name="Focused"/>

                <VisualState x:Name="Unfocused"/>

              </VisualStateGroup>

            </VisualStateManager.VisualStateGroups>
							<Viewbox>
								<Grid>
									<!--<Ellipse Fill="White" Margin="0" Opacity="0.725"/>-->
									<Path
                    IsHitTestVisible="False"
										x:Name="kresbaTlacikta"
										Data="M354,180 C354,276.09753 276.09753,354 180,354 C83.902451,354 6,276.09753 6,180 C6,83.902451 83.902451,6 180,6 C276.09753,6 354,83.902451 354,180 z M87.499985,174.27 L272.5,174.27 M87.499985,174.27 L179.99998,84.5 M87.499985,174.27 L179.99998,275.5"
										Margin="0" Stretch="Fill" Stroke="#E29FFFA1"
										StrokeThickness="20" UseLayoutRounding="False"
										StrokeStartLineCap="Round" StrokeEndLineCap="Round" Fill="#00C1FfcC"
									/>
								</Grid>
							</Viewbox>
						</Grid>
					
        </ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>




<Style TargetType="Button" x:Key="PinButtonStyle">
		
		<Setter Property="Template">
			<Setter.Value>
				
				<ControlTemplate TargetType="Button">
          
						<Grid>
							<VisualStateManager.VisualStateGroups>
              <VisualStateGroup x:Name="CommonStates">

								<VisualState x:Name="Normal"/>

								<VisualState x:Name="MouseOver">
									<Storyboard>
                    <DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="kresbaTlacikta"/>
									</Storyboard>
								</VisualState>
									<VisualState x:Name="Pressed"/>
									<VisualState x:Name="Disabled"/>

								</VisualStateGroup>

              <VisualStateGroup x:Name="FocusStates">

                <VisualState x:Name="Focused"/>

                <VisualState x:Name="Unfocused"/>

              </VisualStateGroup>

            </VisualStateManager.VisualStateGroups>
							<Viewbox>
								<Grid>
									<Ellipse Fill="White" Margin="0" Opacity="0.725" />
                	<Ellipse x:Name="kresbaTlacikta" Fill="#ffC1FfcC" Margin="20" Opacity="0" IsHitTestVisible="False"/>
									<Path
										IsHitTestVisible="False"
										Data="M354,180 C354,276.09753 276.09753,354 180,354 C83.902451,354 6,276.09753 6,180 C6,83.902451 83.902451,6 180,6 C276.09753,6 354,83.902451 354,180 z "
										Margin="20" Stretch="Fill" Stroke="#FF3D3D3D"
										StrokeThickness="17" UseLayoutRounding="False"
										StrokeStartLineCap="Round" StrokeEndLineCap="Round"
									/>
									<Path
										x:Name="PressedBackground"
		                Data="M150,0.5 C232.56657,0.5 299.5,66.985718 299.5,149 C299.5,193.85156 279.48206,234.05896 247.83664,261.28787 L247.06996,261.93179 L200,321 L150,401 L100,322 L52.752724,261.78287 L52.163376,261.28787 C20.517935,234.05896 0.50000215,193.85156 0.5,149 C0.50000215,66.985718 67.433434,0.5 150,0.5 z"
					          Stroke="#ff404040" StrokeThickness="17"
										Margin="116,100,0,0" Stretch="Fill" UseLayoutRounding="False"
		                IsHitTestVisible="False" Opacity="1" Height="218" VerticalAlignment="Top" HorizontalAlignment="Left" Width="172"
              		/>
									<Ellipse Fill="#FF3D3D3D" Margin="177,159,177,197"/>
								</Grid>
							</Viewbox>
						</Grid>
					
        </ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	

  
</ResourceDictionary>